<?php

use Illuminate\Database\Seeder;
use App\Models\Notice;

class NoticesTableSeeder extends Seeder
{
    public function run()
    {
        $notices = factory(Notice::class)
                    ->times(15)
                    ->make();

        Notice::insert($notices->toArray());
    }

}

